package com.example.common.enums;

public enum ResultCodeEnum {
    SUCCESS("200", "成功"),

    PARAM_ERROR("400", "参数异常"),

    SYSTEM_ERROR("500", "系统异常"),
    WORK_ORDER_EXIST_ERROR("5001", "工单已存在"),
    DEPARTMENT_NOT_EXIST_ERROR("5001", "部门不存在"),
    ;

    public String code;
    public String msg;

    ResultCodeEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
